package com.lagou.mapper;

import com.lagou.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    public int checkUser(String username);

    public User selectLogin(@Param("username") String username, @Param("password") String Md5Password);

    public List<User> userList();

    int checkEmail(String str);

    int insert(User user);

    int deleteById(int id);

    User selectById(int id);
}
